#ifndef _I_API_RASTERIZER_STATE_H_
#define _I_API_RASTERIZER_STATE_H_

#include "../interface/I_api_DeviceChild.h"

class I_api_RasterizerState : public I_api_DeviceChild
{
protected:
	friend class I_api_Device;
	friend class C_gl_Device;

	S_api_Rasterizer_Desc	m_Desc;

	I_api_RasterizerState(const	S_api_Rasterizer_Desc	* pDesc, const I_api_Device	* pDevice) 
		: I_api_DeviceChild(pDevice)
	{
		m_Desc = *pDesc;
	}

	~I_api_RasterizerState() {}

public:
	virtual void	GetDesc(S_api_Rasterizer_Desc *pDesc)
	{
		if (pDesc != 0) *pDesc = m_Desc;
	}
};

#endif